//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Sum 41 & The Interrupters','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','5/15/2024','7:00 PM','6215169','Sum-41---The-Interrupters-5-15-2024'],['Orville Peck','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','5/31/2024','7:00 PM','6355648','Orville-Peck-5-31-2024'],['Brothers Osborne','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','6/7/2024','8:00 PM','6115528','Brothers-Osborne-6-7-2024'],['Bryson Tiller','Skyla Credit Union Amphitheatre','Charlotte, NC','Tuesday','6/11/2024','7:30 PM','6315582','Bryson-Tiller-6-11-2024'],['The Kid Laroi','Skyla Credit Union Amphitheatre','Charlotte, NC','Thursday','6/13/2024','7:30 PM','6340589','The-Kid-Laroi-6-13-2024'],['Dwight Yoakam & The Mavericks','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','6/15/2024','7:00 PM','6303483','Dwight-Yoakam---The-Mavericks-6-15-2024'],['Cody Jinks','Skyla Credit Union Amphitheatre','Charlotte, NC','Thursday','6/20/2024','7:00 PM','6314184','Cody-Jinks-6-20-2024'],['Goose','Skyla Credit Union Amphitheatre','Charlotte, NC','Sunday','6/23/2024','7:30 PM','6252309','Goose-6-23-2024'],['T-Pain','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','6/26/2024','7:30 PM','6276864','T-Pain-6-26-2024'],['Cole Swindell, Dylan Scott & Lily Rose','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','6/28/2024','7:00 PM','6128943','Cole-Swindell--Dylan-Scott---Lily-Rose-6-28-2024'],['Switchfoot, Blue October & Matt Nathanson','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','7/24/2024','6:00 PM','6372377','Switchfoot--Blue-October---Matt-Nathanson-7-24-2024'],['Jamey Johnson','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','8/2/2024','7:00 PM','6384008','Jamey-Johnson-8-2-2024'],['Cake - Band','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','8/7/2024','8:00 PM','6370562','Cake---Band-8-7-2024'],['311','Skyla Credit Union Amphitheatre','Charlotte, NC','Sunday','8/11/2024','7:00 PM','6314494','311-8-11-2024'],['Primus & Coheed and Cambria','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','8/17/2024','7:00 PM','6276574','Primus---Coheed-and-Cambria-8-17-2024'],['Bush, Jerry Cantrell & Candlebox','Skyla Credit Union Amphitheatre','Charlotte, NC','Monday','8/26/2024','6:00 PM','6215190','Bush--Jerry-Cantrell---Candlebox-8-26-2024'],['Falling In Reverse','Skyla Credit Union Amphitheatre','Charlotte, NC','Monday','9/2/2024','5:45 PM','6426959','Falling-In-Reverse-9-2-2024'],['Justin Moore & Randy Houser','Skyla Credit Union Amphitheatre','Charlotte, NC','Thursday','9/5/2024','7:00 PM','6302687','Justin-Moore---Randy-Houser-9-5-2024'],['Porter Robinson','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','9/11/2024','8:00 PM','6406735','Porter-Robinson-9-11-2024'],['Kaleo','Skyla Credit Union Amphitheatre','Charlotte, NC','Thursday','9/19/2024','8:00 PM','6412180','Kaleo-9-19-2024'],['Melissa Etheridge & Jewel','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','9/21/2024','7:30 PM','6215669','Melissa-Etheridge---Jewel-9-21-2024'],['Lake Street Dive','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','10/5/2024','8:00 PM','6239673','Lake-Street-Dive-10-5-2024'],['Ray Lamontagne & Gregory Alan Isakov','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','10/12/2024','7:00 PM','6389712','Ray-Lamontagne---Gregory-Alan-Isakov-10-12-2024'],['Stephen Sanchez','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','10/25/2024','8:00 PM','6414310','Stephen-Sanchez-10-25-2024'],['Queen City Jazz Fest: Chris Botti, Mike Phillips, Raheem DeVaughn & Eric Roberson','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','6/20/2070','TBD','4417822','Queen-City-Jazz-Fest--Chris-Botti--Mike-Phillips--Raheem-DeVaughn---Eric-Roberson-6-20-2070'],['Chase Rice','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','5/9/2074','7:00 PM','6230444','Chase-Rice-5-9-2074']],'NC Music Factory','http://www.ticketnetwork.com/ticket/NC-Music-Factory-events.aspx');